
export const tableOption = {
  "align": "center",
  "index": true,
  "indexLabel": "序号",
  "border": false,
  span: 24,
  menu: true,
  "gutter": 0,
  "stripe": false,
  "menuBtn": true,
  "emptyBtn": true,
  "emptyText": "清空",
  "menuAlign": "center",
  "submitBtn": false,
  "labelWidth": 120,
  "submitText": "提交",
  "labelSuffix": "：",
  "menuPosition": "center",
  "labelPosition": "left",
  "searchMenuSpan": 6,
  "column": [
    {
      "prop": "id",
      "span": 6,
      "type": "number",
      "label": "id",
      "display": false,
      hide: true,
	  
    },{
    "prop": "content",
    "span": 24,
    "type": "textarea",
    "label": "内容",
    "display": true
  },{
    "prop": "createTime",
    "span": 24,
    "type": "date",
    "label": "日期",
    "display": true,
    format: 'yyyy-MM-dd',
    valueFormat: 'yyyy-MM-dd',
	addDisabled:true,
	editDisabled: true
  },{
    "prop": "comment",
    "span": 24,
    "type": "textarea",
    "label": "评论",
    "display": true,
  }, {
    "prop": "userId",
    "span": 24,
    "type": "select",
	searchLabelWidth:130,
    "label": "查看他人日报",
	"props": {
	  "label": "username",
	  "value": "id"
	},
	dicUrl: "http://localhost:8080/message/task/getAllUser",
	dicMethod: 'get',
	'search': true,
    "display": false,
	hide:true
  }],

}



export const tableOption2 = {
  "align": "center",
  "index": true,
  "indexLabel": "序号",
  "border": false,
  span: 24,
  menu: true,
  "gutter": 0,
  "stripe": false,
  "menuBtn": true,
  "emptyBtn": true,
  "emptyText": "清空",
  "menuAlign": "center",
  "submitBtn": false,
  "labelWidth": 120,
  "submitText": "提交",
  "labelSuffix": "：",
  "menuPosition": "center",
  "labelPosition": "left",
  "searchMenuSpan": 6,
  "column": [
    {
      "prop": "id",
      "span": 6,
      "type": "number",
      "label": "id",
      "display": false,
      hide: true,
	  
    },{
    "prop": "content",
    "span": 24,
    "type": "textarea",
    "label": "内容",
    "display": true
  },{
    "prop": "createTime",
    "span": 24,
    "type": "date",
    "label": "日期",
    "display": true,
    format: 'yyyy-MM-dd',
    valueFormat: 'yyyy-MM-dd',
  },{
    "prop": "comment",
    "span": 24,
    "type": "textarea",
    "label": "评论",
    "display": true,
    addDisabled:true,
	editDisabled: true
  }, {
    "prop": "userId",
    "span": 24,
    "type": "select",
    "label": "创建/更新人id",
	"props": {
	  "label": "username",
	  "value": "id"
	},
	dicUrl: "http://localhost:8080/message/task/getAllUser",
	dicMethod: 'get',
	
    "display": false,
	hide:true
  }],

}


